-
Notifications
You must be signed in to change notification settings - Fork 300
chore: add --max-warnings 0 to all eslint runners and fix warnings #2447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-Authored-By: Connor Prussin <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: Connor Prussin <[email protected]>
apps/hermes/client/js/.eslintrc.js
Outdated
parser: "@typescript-eslint/parser", | ||
plugins: ["@typescript-eslint"], | ||
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"], | ||
rules: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this and add eslint-ignore comments to lines where variables are intentionally ignored instead.
price_service/sdk/js/.eslintrc.js
Outdated
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"], | ||
rules: { | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this config, we can add eslint-ignore lines if there are any intentionally unused vars.
…tion Co-Authored-By: Connor Prussin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will you please try to fix the eslint warnings in contract_manager
?
Co-Authored-By: Connor Prussin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need to add --max-warnings 0
to the following jobs that were missed:
@pythnetwork/insights:test:lint:eslint
@pythnetwork/component-library:test:lint:eslint
Will you also add --max-warnings 0
to the jobs that run stylelint as well:
@pythnetwork/insights:test:lint:stylelint
@pythnetwork/component-library:test:lint:stylelint
Co-Authored-By: Connor Prussin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add eslint-ignore
lines to silence the @typescript-eslint/no-explicit-any
warnings in xc-admin-frontend
, and please fix the other warnings accordingly. Please also run pre-commit
to fix the formatting errors that came up in the most recent commit.
…tend Co-Authored-By: Connor Prussin <[email protected]>
Co-Authored-By: Connor Prussin <[email protected]>
…sui.ts Co-Authored-By: Connor Prussin <[email protected]>
This PR adds --max-warnings 0 to all eslint runners in the repository and fixes any outstanding eslint warnings.
Changes made:
Link to Devin run: https://app.devin.ai/sessions/6663b90f3a1040cab837c75c8a11e769
Requested by: Connor